<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>使用creatJs做一个小球碰撞反弹效果</title>
    <style>
        *{
            margin: 0px;
            padding:0px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
        body,
        html{
            width: 100%;
            height:100%;
        }
    </style>
</head>
<body>
    <canvas id="canvas"></canvas>
    <script charset="utf-8" src="js/creatjs.min.js"></script>
    <script charset="utf-8" src="js/buffer.js"></script>
    <script charset="utf-8" src="js/loading.js"></script>
    <script charset="utf-8" src="js/main.js"></script>
</body>
</html>